<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>css盒模型 | 课程介绍</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../../02/mds/section004.html" />
    
    
    <link rel="prev" href="../../02/mds/section003.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="2.5"
        data-chapter-title="css盒模型"
        data-filepath="02/mds/section01.md"
        data-basepath="../.."
        data-revision="Sat Nov 19 2016 16:06:47 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        课程介绍
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="01/index.html">
            
                
                    <a href="../../01/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        HTML
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="01/mds/section01.html">
            
                
                    <a href="../../01/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        html概述和基本结构
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="01/mds/section02.html">
            
                
                    <a href="../../01/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        html标题
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="01/mds/section03.html">
            
                
                    <a href="../../01/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        html段落、换行与字符实体
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="01/mds/section04.html">
            
                
                    <a href="../../01/mds/section04.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        html块、含样式的标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="01/mds/section05.html">
            
                
                    <a href="../../01/mds/section05.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        html图像、绝对路径和相对路径
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="01/mds/section06.html">
            
                
                    <a href="../../01/mds/section06.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        html链接
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="01/mds/section07.html">
            
                
                    <a href="../../01/mds/section07.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        html列表
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="01/mds/section08.html">
            
                
                    <a href="../../01/mds/section08.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.8.</b>
                        
                        html表格及传统布局
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="01/mds/section09.html">
            
                
                    <a href="../../01/mds/section09.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.9.</b>
                        
                        html表单
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="01/mds/section10.html">
            
                
                    <a href="../../01/mds/section10.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.10.</b>
                        
                        html内嵌框架
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="02/index.html">
            
                
                    <a href="../../02/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        CSS
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="01/mds/section12.html">
            
                
                    <a href="../../01/mds/section12.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        css基本语法及页面引用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="01/mds/section13.html">
            
                
                    <a href="../../01/mds/section13.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        css文本设置
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="01/mds/section14.html">
            
                
                    <a href="../../01/mds/section14.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        css颜色表示法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="02/mds/section003.html">
            
                
                    <a href="../../02/mds/section003.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        css选择器
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="2.5" data-path="02/mds/section01.html">
            
                
                    <a href="../../02/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        css盒模型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="02/mds/section004.html">
            
                
                    <a href="../../02/mds/section004.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        css元素溢出
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="02/mds/section02.html">
            
                
                    <a href="../../02/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.7.</b>
                        
                        块元素、内联元素、内联块元素
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="02/mds/section03.html">
            
                
                    <a href="../../02/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.8.</b>
                        
                        浮动
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.9" data-path="02/mds/section04.html">
            
                
                    <a href="../../02/mds/section04.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.9.</b>
                        
                        定位
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.10" data-path="02/mds/section05.html">
            
                
                    <a href="../../02/mds/section05.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.</b>
                        
                        background属性
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.11" data-path="02/mds/section06.html">
            
                
                    <a href="../../02/mds/section06.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.11.</b>
                        
                        特征布局实例讲习
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3" data-path="03-04/index.html">
            
                
                    <a href="../../03-04/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.</b>
                        
                        Photoshop
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1" data-path="03-04/mds/section01.html">
            
                
                    <a href="../../03-04/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.1.</b>
                        
                        常用图片格式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="03-04/mds/section02.html">
            
                
                    <a href="../../03-04/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.2.</b>
                        
                        photoshop常用图片处理技巧
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="03-04/mds/section03.html">
            
                
                    <a href="../../03-04/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.</b>
                        
                        ps效果图制作实例
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="05/mds/section02.html">
            
                
                    <a href="../../05/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.4.</b>
                        
                        photoshop批量切图技巧
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="05/mds/section03.html">
            
                
                    <a href="../../05/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.5.</b>
                        
                        Photoshop制作雪碧图技巧
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4" data-path="05/mds/section04.html">
            
                
                    <a href="../../05/mds/section04.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.</b>
                        
                        前端页面开发流程
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5" data-path="06-07/index.html">
            
                
                    <a href="../../06-07/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.</b>
                        
                        HTML5与CSS3
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.1" data-path="06-07/mds/section00.html">
            
                
                    <a href="../../06-07/mds/section00.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.1.</b>
                        
                        CSS权重
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="06-07/mds/section01.html">
            
                
                    <a href="../../06-07/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.2.</b>
                        
                        CSS3新增选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5.3" data-path="06-07/mds/section02.html">
            
                
                    <a href="../../06-07/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.3.</b>
                        
                        CSS3圆角、阴影、rgba
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5.4" data-path="06-07/mds/section03.html">
            
                
                    <a href="../../06-07/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.4.</b>
                        
                        CSS3 transition动画
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5.5" data-path="06-07/mds/section04.html">
            
                
                    <a href="../../06-07/mds/section04.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.5.</b>
                        
                        CSS3 transform变换
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5.6" data-path="06-07/mds/section05.html">
            
                
                    <a href="../../06-07/mds/section05.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.6.</b>
                        
                        CSS3 animation动画
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5.7" data-path="08/mds/section03.html">
            
                
                    <a href="../../08/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.7.</b>
                        
                        CSS浏览器前缀
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5.8" data-path="08/mds/section00.html">
            
                
                    <a href="../../08/mds/section00.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.8.</b>
                        
                        HTML5新结构标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5.9" data-path="08/mds/section01.html">
            
                
                    <a href="../../08/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.9.</b>
                        
                        HTML5 新增表单控件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5.10" data-path="08/mds/section02.html">
            
                
                    <a href="../../08/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.10.</b>
                        
                        HTML5 音频和视频
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6" data-path="08/mds/section04.html">
            
                
                    <a href="../../08/mds/section04.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.</b>
                        
                        移动端页面开发流程
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.1" data-path="08/mds/section05.html">
            
                
                    <a href="../../08/mds/section05.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.1.</b>
                        
                        移动端布局实例
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="7" data-path="09/index.html">
            
                
                    <a href="../../09/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.</b>
                        
                        JavaScript
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="7.1" data-path="09/mds/section00.html">
            
                
                    <a href="../../09/mds/section00.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.1.</b>
                        
                        JavaScript介绍
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.2" data-path="09/mds/section01.html">
            
                
                    <a href="../../09/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.2.</b>
                        
                        JavaScript嵌入页面的方式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.3" data-path="09/mds/section02.html">
            
                
                    <a href="../../09/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.3.</b>
                        
                        变量
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.4" data-path="09/mds/section03.html">
            
                
                    <a href="../../09/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.4.</b>
                        
                        获取元素方法一
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.5" data-path="09/mds/section04.html">
            
                
                    <a href="../../09/mds/section04.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.5.</b>
                        
                        操作元素属性
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.6" data-path="09/mds/section05.html">
            
                
                    <a href="../../09/mds/section05.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.6.</b>
                        
                        函数
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.7" data-path="10/mds/section00.html">
            
                
                    <a href="../../10/mds/section00.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.7.</b>
                        
                        条件语句
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.8" data-path="10/mds/section01.html">
            
                
                    <a href="../../10/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.8.</b>
                        
                        数组及操作方法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.9" data-path="10/mds/section02.html">
            
                
                    <a href="../../10/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.9.</b>
                        
                        循环语句
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.10" data-path="10/mds/section03.html">
            
                
                    <a href="../../10/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.10.</b>
                        
                        Javascript组成
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.11" data-path="10/mds/section04.html">
            
                
                    <a href="../../10/mds/section04.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.11.</b>
                        
                        字符串处理方法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.12" data-path="10/mds/section05.html">
            
                
                    <a href="../../10/mds/section05.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.12.</b>
                        
                        调试程序的方法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.13" data-path="10/mds/section06.html">
            
                
                    <a href="../../10/mds/section06.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.13.</b>
                        
                        定时器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.14" data-path="11/mds/section00.html">
            
                
                    <a href="../../11/mds/section00.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.14.</b>
                        
                        类型转换
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.15" data-path="11/mds/section01.html">
            
                
                    <a href="../../11/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.15.</b>
                        
                        变量作用域
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.16" data-path="11/mds/section02.html">
            
                
                    <a href="../../11/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.16.</b>
                        
                        封闭函数
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.17" data-path="11/mds/section03.html">
            
                
                    <a href="../../11/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.17.</b>
                        
                        闭包
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.18" data-path="11/mds/section04.html">
            
                
                    <a href="../../11/mds/section04.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.18.</b>
                        
                        内置对象
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.19" data-path="11/mds/section05.html">
            
                
                    <a href="../../11/mds/section05.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.19.</b>
                        
                        面向对象
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="7.20" data-path="11/mds/section06.html">
            
                
                    <a href="../../11/mds/section06.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.20.</b>
                        
                        新选择器
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="8" data-path="12/index.html">
            
                
                    <a href="../../12/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.</b>
                        
                        JQuery
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="8.1" data-path="12/mds/section00.html">
            
                
                    <a href="../../12/mds/section00.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.1.</b>
                        
                        jquery介绍
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.2" data-path="12/mds/section01.html">
            
                
                    <a href="../../12/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.2.</b>
                        
                        jquery加载
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.3" data-path="12/mds/section02.html">
            
                
                    <a href="../../12/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.3.</b>
                        
                        jquery选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.4" data-path="12/mds/section03.html">
            
                
                    <a href="../../12/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.4.</b>
                        
                        jquery样式操作
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.5" data-path="12/mds/section04.html">
            
                
                    <a href="../../12/mds/section04.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.5.</b>
                        
                        jquery属性操作
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.6" data-path="12/mds/section05.html">
            
                
                    <a href="../../12/mds/section05.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.6.</b>
                        
                        绑定click事件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.7" data-path="12/mds/section06.html">
            
                
                    <a href="../../12/mds/section06.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.7.</b>
                        
                        jquery特殊效果
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.8" data-path="12/mds/section07.html">
            
                
                    <a href="../../12/mds/section07.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.8.</b>
                        
                        jquery链式调用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.9" data-path="12/mds/section08.html">
            
                
                    <a href="../../12/mds/section08.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.9.</b>
                        
                        jquery动画
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.10" data-path="12/mds/section09.html">
            
                
                    <a href="../../12/mds/section09.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.10.</b>
                        
                        尺寸相关、滚动事件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.11" data-path="12/mds/section10.html">
            
                
                    <a href="../../12/mds/section10.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.11.</b>
                        
                        实例
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.12" data-path="13/mds/section00.html">
            
                
                    <a href="../../13/mds/section00.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.12.</b>
                        
                        jquery事件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.13" data-path="13/mds/section01.html">
            
                
                    <a href="../../13/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.13.</b>
                        
                        主动触发与自定义事件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.14" data-path="13/mds/section02.html">
            
                
                    <a href="../../13/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.14.</b>
                        
                        事件冒泡
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.15" data-path="13/mds/section03.html">
            
                
                    <a href="../../13/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.15.</b>
                        
                        事件委托
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.16" data-path="13/mds/section04.html">
            
                
                    <a href="../../13/mds/section04.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.16.</b>
                        
                        jquery元素节点操作
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.17" data-path="13/mds/section05.html">
            
                
                    <a href="../../13/mds/section05.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.17.</b>
                        
                        滚轮事件与函数节流
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.18" data-path="13/mds/section06.html">
            
                
                    <a href="../../13/mds/section06.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.18.</b>
                        
                        实例
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.19" data-path="14/mds/section00.html">
            
                
                    <a href="../../14/mds/section00.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.19.</b>
                        
                        json
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.20" data-path="14/mds/section01.html">
            
                
                    <a href="../../14/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.20.</b>
                        
                        ajax与jsonp
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.21" data-path="14/mds/section02.html">
            
                
                    <a href="../../14/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.21.</b>
                        
                        正则表达式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.22" data-path="14/mds/section03.html">
            
                
                    <a href="../../14/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.22.</b>
                        
                        本地存储
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.23" data-path="14/mds/section04.html">
            
                
                    <a href="../../14/mds/section04.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.23.</b>
                        
                        jqueryUI
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="8.24" data-path="14/mds/section05.html">
            
                
                    <a href="../../14/mds/section05.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>8.24.</b>
                        
                        实例
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="9" data-path="15-16/index.html">
            
                
                    <a href="../../15-16/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>9.</b>
                        
                        移动端库和框架
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="9.1" data-path="15-16/mds/section00.html">
            
                
                    <a href="../../15-16/mds/section00.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>9.1.</b>
                        
                        移动端js事件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="9.2" data-path="15-16/mds/section01.html">
            
                
                    <a href="../../15-16/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>9.2.</b>
                        
                        zepto
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="9.3" data-path="15-16/mds/section02.html">
            
                
                    <a href="../../15-16/mds/section02.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>9.3.</b>
                        
                        swiper
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="9.4" data-path="15-16/mds/section03.html">
            
                
                    <a href="../../15-16/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>9.4.</b>
                        
                        bootstrap
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="10" data-path="17/index.html">
            
                
                    <a href="../../17/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>10.</b>
                        
                        前端自动化及优化
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="10.1" data-path="17/mds/section01.html">
            
                
                    <a href="../../17/mds/section01.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>10.1.</b>
                        
                        less、sass、stylus
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="10.2" data-path="17/mds/section03.html">
            
                
                    <a href="../../17/mds/section03.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>10.2.</b>
                        
                        grunt、gulp
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="10.3" data-path="17/mds/section04.html">
            
                
                    <a href="../../17/mds/section04.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>10.3.</b>
                        
                        前端优化
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../" >课程介绍</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h2 id="css&#x76D2;&#x5B50;&#x6A21;&#x578B;">CSS&#x76D2;&#x5B50;&#x6A21;&#x578B;</h2>
<p><strong> &#x76D2;&#x5B50;&#x6A21;&#x578B;&#x89E3;&#x91CA; </strong><br>&#x5143;&#x7D20;&#x5728;&#x9875;&#x9762;&#x4E2D;&#x663E;&#x793A;&#x6210;&#x4E00;&#x4E2A;&#x65B9;&#x5757;&#xFF0C;&#x7C7B;&#x4F3C;&#x4E00;&#x4E2A;&#x76D2;&#x5B50;&#xFF0C;CSS&#x76D2;&#x5B50;&#x6A21;&#x578B;&#x5C31;&#x662F;&#x4F7F;&#x7528;&#x73B0;&#x5B9E;&#x4E2D;&#x76D2;&#x5B50;&#x6765;&#x505A;&#x6BD4;&#x55BB;&#xFF0C;&#x5E2E;&#x52A9;&#x6211;&#x4EEC;&#x8BBE;&#x7F6E;&#x5143;&#x7D20;&#x5BF9;&#x5E94;&#x7684;&#x6837;&#x5F0F;&#x3002;&#x76D2;&#x5B50;&#x6A21;&#x578B;&#x793A;&#x610F;&#x56FE;&#x5982;&#x4E0B;&#xFF1A;</p>
<p><img src="../images/view01.jpg" alt="&#x76D2;&#x5B50;&#x6A21;&#x578B;&#x793A;&#x4F8B;&#x56FE;&#x7247;"></p>
<p>&#x628A;&#x5143;&#x7D20;&#x53EB;&#x505A;&#x76D2;&#x5B50;&#xFF0C;&#x8BBE;&#x7F6E;&#x5BF9;&#x5E94;&#x7684;&#x6837;&#x5F0F;&#x5206;&#x522B;&#x4E3A;&#xFF1A;&#x76D2;&#x5B50;&#x7684;&#x8FB9;&#x6846;(border)&#x3001;&#x76D2;&#x5B50;&#x5185;&#x7684;&#x5185;&#x5BB9;&#x548C;&#x8FB9;&#x6846;&#x4E4B;&#x95F4;&#x7684;&#x95F4;&#x8DDD;(padding)&#x3001;&#x76D2;&#x5B50;&#x4E0E;&#x76D2;&#x5B50;&#x4E4B;&#x95F4;&#x7684;&#x95F4;&#x8DDD;(margin)&#x3002;</p>
<p><strong> &#x8BBE;&#x7F6E;&#x8FB9;&#x6846; </strong><br>&#x8BBE;&#x7F6E;&#x4E00;&#x8FB9;&#x7684;&#x8FB9;&#x6846;&#xFF0C;&#x6BD4;&#x5982;&#x9876;&#x90E8;&#x8FB9;&#x6846;&#xFF0C;&#x53EF;&#x4EE5;&#x6309;&#x5982;&#x4E0B;&#x8BBE;&#x7F6E;&#xFF1A;  </p>
<pre><code>border-top-color:red;    /* &#x8BBE;&#x7F6E;&#x9876;&#x90E8;&#x8FB9;&#x6846;&#x989C;&#x8272;&#x4E3A;&#x7EA2;&#x8272; */  
border-top-width:10px;   /* &#x8BBE;&#x7F6E;&#x9876;&#x90E8;&#x8FB9;&#x6846;&#x7C97;&#x7EC6;&#x4E3A;10px */   
border-top-style:solid;  /* &#x8BBE;&#x7F6E;&#x9876;&#x90E8;&#x8FB9;&#x6846;&#x7684;&#x7EBF;&#x6027;&#x4E3A;&#x5B9E;&#x7EBF;&#xFF0C;&#x5E38;&#x7528;&#x7684;&#x6709;&#xFF1A;solid(&#x5B9E;&#x7EBF;)  
  dashed(&#x865A;&#x7EBF;)  dotted(&#x70B9;&#x7EBF;); */
</code></pre><p>&#x4E0A;&#x9762;&#x4E09;&#x53E5;&#x53EF;&#x4EE5;&#x7B80;&#x5199;&#x6210;&#x4E00;&#x53E5;&#xFF1A;  </p>
<pre><code>border-top:10px solid red;
</code></pre><p>&#x8BBE;&#x7F6E;&#x5176;&#x5B83;&#x4E09;&#x4E2A;&#x8FB9;&#x7684;&#x65B9;&#x6CD5;&#x548C;&#x4E0A;&#x9762;&#x4E00;&#x6837;&#xFF0C;&#x628A;&#x4E0A;&#x9762;&#x7684;&apos;top&apos;&#x6362;&#x6210;&apos;left&apos;&#x5C31;&#x662F;&#x8BBE;&#x7F6E;&#x5DE6;&#x8FB9;&#xFF0C;&#x6362;&#x6210;&apos;right&apos;&#x5C31;&#x662F;&#x8BBE;&#x7F6E;&#x53F3;&#x8FB9;&#xFF0C;&#x6362;&#x6210;&apos;bottom&apos;&#x5C31;&#x662F;&#x8BBE;&#x7F6E;&#x5E95;&#x8FB9;&#x3002;</p>
<p>&#x56DB;&#x4E2A;&#x8FB9;&#x5982;&#x679C;&#x8BBE;&#x7F6E;&#x4E00;&#x6837;&#xFF0C;&#x53EF;&#x4EE5;&#x5C06;&#x56DB;&#x4E2A;&#x8FB9;&#x7684;&#x8BBE;&#x7F6E;&#x5408;&#x5E76;&#x6210;&#x4E00;&#x53E5;&#xFF1A;  </p>
<pre><code>border:10px solid red;
</code></pre><p><strong> &#x8BBE;&#x7F6E;&#x5185;&#x95F4;&#x8DDD;padding </strong>  </p>
<p>&#x8BBE;&#x7F6E;&#x76D2;&#x5B50;&#x56DB;&#x8FB9;&#x7684;&#x5185;&#x95F4;&#x8DDD;&#xFF0C;&#x53EF;&#x8BBE;&#x7F6E;&#x5982;&#x4E0B;&#xFF1A;  </p>
<pre><code>padding-top&#xFF1A;20px;     /* &#x8BBE;&#x7F6E;&#x9876;&#x90E8;&#x5185;&#x95F4;&#x8DDD;20px */ 
padding-left:30px;     /* &#x8BBE;&#x7F6E;&#x5DE6;&#x8FB9;&#x5185;&#x95F4;&#x8DDD;30px */ 
padding-right:40px;    /* &#x8BBE;&#x7F6E;&#x53F3;&#x8FB9;&#x5185;&#x95F4;&#x8DDD;40px */ 
padding-bottom:50px;   /* &#x8BBE;&#x7F6E;&#x5E95;&#x90E8;&#x5185;&#x95F4;&#x8DDD;50px */
</code></pre><p>&#x4E0A;&#x9762;&#x7684;&#x8BBE;&#x7F6E;&#x53EF;&#x4EE5;&#x7B80;&#x5199;&#x5982;&#x4E0B;&#xFF1A;  </p>
<pre><code>padding&#xFF1A;20px 40px 50px 30px; /* &#x56DB;&#x4E2A;&#x503C;&#x6309;&#x7167;&#x987A;&#x65F6;&#x9488;&#x65B9;&#x5411;&#xFF0C;&#x5206;&#x522B;&#x8BBE;&#x7F6E;&#x7684;&#x662F; &#x4E0A; &#x53F3; &#x4E0B; &#x5DE6;  
&#x56DB;&#x4E2A;&#x65B9;&#x5411;&#x7684;&#x5185;&#x8FB9;&#x8DDD;&#x503C;&#x3002; */
</code></pre><p>padding&#x540E;&#x9762;&#x8FD8;&#x53EF;&#x4EE5;&#x8DDF;3&#x4E2A;&#x503C;&#xFF0C;2&#x4E2A;&#x503C;&#x548C;1&#x4E2A;&#x503C;&#xFF0C;&#x5B83;&#x4EEC;&#x5206;&#x522B;&#x8BBE;&#x7F6E;&#x7684;&#x9879;&#x76EE;&#x5982;&#x4E0B;&#xFF1A;</p>
<pre><code>padding&#xFF1A;20px 40px 50px; /* &#x8BBE;&#x7F6E;&#x9876;&#x90E8;&#x5185;&#x8FB9;&#x8DDD;&#x4E3A;20px&#xFF0C;&#x5DE6;&#x53F3;&#x5185;&#x8FB9;&#x8DDD;&#x4E3A;40px&#xFF0C;&#x5E95;&#x90E8;&#x5185;&#x8FB9;&#x8DDD;&#x4E3A;50px */ 
padding&#xFF1A;20px 40px; /* &#x8BBE;&#x7F6E;&#x4E0A;&#x4E0B;&#x5185;&#x8FB9;&#x8DDD;&#x4E3A;20px&#xFF0C;&#x5DE6;&#x53F3;&#x5185;&#x8FB9;&#x8DDD;&#x4E3A;40px*/ 
padding&#xFF1A;20px; /* &#x8BBE;&#x7F6E;&#x56DB;&#x8FB9;&#x5185;&#x8FB9;&#x8DDD;&#x4E3A;20px */
</code></pre><p><strong> &#x8BBE;&#x7F6E;&#x5916;&#x95F4;&#x8DDD;margin </strong>  </p>
<p>&#x5916;&#x8FB9;&#x8DDD;&#x7684;&#x8BBE;&#x7F6E;&#x65B9;&#x6CD5;&#x548C;padding&#x7684;&#x8BBE;&#x7F6E;&#x65B9;&#x6CD5;&#x76F8;&#x540C;&#xFF0C;&#x5C06;&#x4E0A;&#x9762;&#x8BBE;&#x7F6E;&#x9879;&#x4E2D;&#x7684;&apos;padding&apos;&#x6362;&#x6210;&apos;margin&apos;&#x5C31;&#x662F;&#x5916;&#x8FB9;&#x8DDD;&#x8BBE;&#x7F6E;&#x65B9;&#x6CD5;&#x3002;</p>
<p><strong>&#x76D2;&#x5B50;&#x6A21;&#x578B;&#x7684;&#x5C3A;&#x5BF8;</strong></p>
<p>&#x6309;&#x7167;&#x4E0B;&#x9762;&#x4EE3;&#x7801;&#x5236;&#x4F5C;&#x9875;&#x9762;&#xFF1A;</p>
<pre><code>&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;title&gt;&#x76D2;&#x5B50;&#x7684;&#x771F;&#x5B9E;&#x5C3A;&#x5BF8;&lt;/title&gt;
    &lt;style type=&quot;text/css&quot;&gt;
        .box01{width:50px;height:50px;background-color:gold;}
        .box02{width:50px;height:50px;background-color:gold;border:50px
         solid #000}
        .box03{width:50px;height:50px;background-color:gold;border:50px
         solid #000;padding: 50px;}
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div class=&quot;box01&quot;&gt;1&lt;/div&gt;
    &lt;br /&gt;
    &lt;div class=&quot;box02&quot;&gt;2&lt;/div&gt;
    &lt;br /&gt;
    &lt;div class=&quot;box03&quot;&gt;3&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre><p>&#x9875;&#x9762;&#x663E;&#x793A;&#x6548;&#x679C;&#x5982;&#x4E0B;&#xFF1A;<br><img src="../images/box_size.jpg" alt="&#x76D2;&#x5B50;&#x5C3A;&#x5BF8;&#x793A;&#x4F8B;&#x56FE;&#x7247;"></p>
<p>&#x901A;&#x8FC7;&#x4E0A;&#x9762;&#x7684;&#x9875;&#x9762;&#x5F97;&#x51FA;&#x7ED3;&#x8BBA;&#xFF1A;&#x76D2;&#x5B50;&#x7684;width&#x548C;height&#x8BBE;&#x7F6E;&#x7684;&#x662F;&#x76D2;&#x5B50;&#x5185;&#x5BB9;&#x7684;&#x5BBD;&#x548C;&#x9AD8;&#xFF0C;&#x4E0D;&#x662F;&#x76D2;&#x5B50;&#x672C;&#x8EAB;&#x7684;&#x5BBD;&#x548C;&#x9AD8;&#xFF0C;&#x76D2;&#x5B50;&#x7684;&#x771F;&#x5B9E;&#x5C3A;&#x5BF8;&#x8BA1;&#x7B97;&#x516C;&#x5F0F;&#x5982;&#x4E0B;&#xFF1A;</p>
<ul>
<li>&#x76D2;&#x5B50;&#x5BBD;&#x5EA6; = width + padding&#x5DE6;&#x53F3; + border&#x5DE6;&#x53F3;</li>
<li>&#x76D2;&#x5B50;&#x9AD8;&#x5EA6; = height + padding&#x4E0A;&#x4E0B; + border&#x4E0A;&#x4E0B;  </li>
</ul>
<p><strong> &#x601D;&#x8003;&#x9898;&#xFF1A;</strong><br>1.&#x5728;&#x5E03;&#x5C40;&#x4E2D;&#xFF0C;&#x5982;&#x679C;&#x6211;&#x60F3;&#x589E;&#x5927;&#x5185;&#x5BB9;&#x548C;&#x8FB9;&#x6846;&#x7684;&#x8DDD;&#x79BB;&#xFF0C;&#x53C8;&#x4E0D;&#x60F3;&#x6539;&#x53D8;&#x76D2;&#x5B50;&#x663E;&#x793A;&#x7684;&#x5C3A;&#x5BF8;&#xFF0C;&#x5E94;&#x8BE5;&#x600E;&#x4E48;&#x505A;&#xFF1F;</p>
<p><strong> &#x8BFE;&#x5802;&#x7EC3;&#x4E60; </strong><br>&#x8BF7;&#x5236;&#x4F5C;&#x56FE;&#x4E2D;&#x6240;&#x793A;&#x7684;&#x6807;&#x9898;&#xFF1A;<br><img src="../images/practice01.jpg" alt="&#x8BFE;&#x5802;&#x7EC3;&#x4E60;&#x793A;&#x4F8B;&#x56FE;&#x7247;"></p>
<p><strong> margin&#x76F8;&#x5173;&#x6280;&#x5DE7; </strong><br>1&#x3001;&#x8BBE;&#x7F6E;&#x5143;&#x7D20;&#x6C34;&#x5E73;&#x5C45;&#x4E2D;&#xFF1A; margin:x auto;<br>2&#x3001;margin&#x8D1F;&#x503C;&#x8BA9;&#x5143;&#x7D20;&#x4F4D;&#x79FB;&#x53CA;&#x8FB9;&#x6846;&#x5408;&#x5E76;</p>
<p><strong> &#x5916;&#x8FB9;&#x8DDD;&#x5408;&#x5E76; </strong> </p>
<p>&#x5916;&#x8FB9;&#x8DDD;&#x5408;&#x5E76;&#x6307;&#x7684;&#x662F;&#xFF0C;&#x5F53;&#x4E24;&#x4E2A;&#x5782;&#x76F4;&#x5916;&#x8FB9;&#x8DDD;&#x76F8;&#x9047;&#x65F6;&#xFF0C;&#x5B83;&#x4EEC;&#x5C06;&#x5F62;&#x6210;&#x4E00;&#x4E2A;&#x5916;&#x8FB9;&#x8DDD;&#x3002;&#x5408;&#x5E76;&#x540E;&#x7684;&#x5916;&#x8FB9;&#x8DDD;&#x7684;&#x9AD8;&#x5EA6;&#x7B49;&#x4E8E;&#x4E24;&#x4E2A;&#x53D1;&#x751F;&#x5408;&#x5E76;&#x7684;&#x5916;&#x8FB9;&#x8DDD;&#x7684;&#x9AD8;&#x5EA6;&#x4E2D;&#x7684;&#x8F83;&#x5927;&#x8005;&#x3002;&#x89E3;&#x51B3;&#x65B9;&#x6CD5;&#x5982;&#x4E0B;&#xFF1A;  </p>
<p>1&#x3001;&#x4F7F;&#x7528;&#x8FD9;&#x79CD;&#x7279;&#x6027;<br>2&#x3001;&#x8BBE;&#x7F6E;&#x4E00;&#x8FB9;&#x7684;&#x5916;&#x8FB9;&#x8DDD;&#xFF0C;&#x4E00;&#x822C;&#x8BBE;&#x7F6E;margin-top<br>3&#x3001;&#x5C06;&#x5143;&#x7D20;&#x6D6E;&#x52A8;&#x6216;&#x8005;&#x5B9A;&#x4F4D;</p>
<p><strong> margin-top &#x584C;&#x9677; </strong>  </p>
<p>&#x5728;&#x4E24;&#x4E2A;&#x76D2;&#x5B50;&#x5D4C;&#x5957;&#x65F6;&#x5019;&#xFF0C;&#x5185;&#x90E8;&#x7684;&#x76D2;&#x5B50;&#x8BBE;&#x7F6E;&#x7684;margin-top&#x4F1A;&#x52A0;&#x5230;&#x5916;&#x8FB9;&#x7684;&#x76D2;&#x5B50;&#x4E0A;&#xFF0C;&#x5BFC;&#x81F4;&#x5185;&#x90E8;&#x7684;&#x76D2;&#x5B50;margin-top&#x8BBE;&#x7F6E;&#x5931;&#x8D25;&#xFF0C;&#x89E3;&#x51B3;&#x65B9;&#x6CD5;&#x5982;&#x4E0B;&#xFF1A;</p>
<p>1&#x3001;&#x5916;&#x90E8;&#x76D2;&#x5B50;&#x8BBE;&#x7F6E;&#x4E00;&#x4E2A;&#x8FB9;&#x6846;<br>2&#x3001;&#x5916;&#x90E8;&#x76D2;&#x5B50;&#x8BBE;&#x7F6E; overflow:hidden<br>3&#x3001;&#x4F7F;&#x7528;&#x4F2A;&#x5143;&#x7D20;&#x7C7B;&#xFF1A;  </p>
<pre><code>.clearfix:before{
    content: &apos;&apos;;
    display:table;
}
</code></pre>
                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../../02/mds/section003.html" class="navigation navigation-prev " aria-label="Previous page: css选择器"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../../02/mds/section004.html" class="navigation navigation-next " aria-label="Next page: css元素溢出"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../../gitbook/app.js"></script>

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
